package edu.neu.swc.commerce.source;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * <h1>自定义物流消息通信信道</h1>
 */
public interface LogisticsSource {

    /** 输出信道名称 */
    String OUTPUT = "logisticsOutput";

    /**
     * <h2>物流Store -> logisticsOutput</h2>
     * 通信信道的名称是 logisticsOutput
     */
    @Output(LogisticsSource.OUTPUT)
    MessageChannel logisticsOutput();

}
